package com.wlyuan.open.scanner.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 联系人信息表
 * </p>
 *
 * @author yuanjie
 * @since 2022-09-27
 */
@Data
@TableName("TMS_MLinkMan")
@ApiModel(value = "LinkManDO对象", description = "联系人信息表")
public class LinkManDO implements Serializable {


    private static final long serialVersionUID = -8581797469806711471L;
    @ApiModelProperty("联系人id")
    @TableId(value = "LinkMan_ID", type = IdType.AUTO)
    private Long linkmanId;

    @ApiModelProperty("联系人地址id")
    private Long linkmanAddrid;

    @ApiModelProperty("联系人类型 1 收货地址 2 发货地址 3 供应商常用地址")
    private Long linkmanAddrtype;

    @ApiModelProperty("姓名")
    private String linkmanName;

    @ApiModelProperty("联系电话")
    private String linkmanPhone;

    @ApiModelProperty("所属公司")
    private Long linkmanCompanyid;

    @ApiModelProperty("客户id")
    private Long linkmanCustomerid;

    @ApiModelProperty("创建人")
    private Long linkmanCreator;

    @ApiModelProperty("创建时间")
    private LocalDateTime linkmanInserttime;

    @ApiModelProperty("修改人")
    private Long linkmanUpdater;

    @ApiModelProperty("最新修改时间")
    private LocalDateTime linkmanUpdatertime;

    @ApiModelProperty("0 有效 1 失效")
    private Integer linkmanInvalid;

    @ApiModelProperty("备注")
    private String linkmanDescription;

    @ApiModelProperty("使用热度")
    private Integer linkmanHotcount;

    @ApiModelProperty("是否为默认地址(1为是，0为否)")
    private Integer linkmanDefault;


}
